<div class="blade-content" id="blade-content">
  <div class="blade-static">
    <div class="form-group">
      <div class="form-input __search">
        <input id="searchBox" name="searchBox" placeholder="查询用户名..." #searchBox (keyup)="onSearch(searchBox.value)" type="text">
      </div>
    </div>
  </div>
  <div class="blade-content">
    <div class="blade-inner">
      <div class="inner-block">
        <div class="table-wrapper">
          <table class="table">
            <thead>
              <tr>
                <th class="table-col">
                  <label class="form-control __checkbox">
                          <input (click)="onAllCheack($event.target)" #allCheckRef name="allCheck"  id="allCheck" type="checkbox">                         
                        <span class="check"></span>
                </label>
                </th> 
                <th class="table-col">序号</th> 
                <th class="table-col">头像</th>
                <th class="table-col">用户名</th> 
                <!-- <th class="table-col">姓名</th>  -->
              </tr>
            </thead>
            <tbody>

              <tr class="table-item" [ngClass]="{'__selected': currentEntity?.userId == item.userId}" *ngFor="let item of users let i =index ">
                <td class="table-col">
                  <label class="form-control __checkbox">
                      <input (click)="onItemCheack($event.target,item)" type="checkbox"  [checked]="allCheckRef.checked">
                        <span class="check"></span>
                  </label>
                </td> 
                <td class="table-col" (click)="onSeletedChange(item)">
                  {{i+1}}  
                </td> 
                <td class="table-col" (click)="onSeletedChange(item)">
                  <img [src]="this.localhostPath +'/img/' + item?.icon" alt="" style="height:40px">
                  <!-- <i class="list-ico" [ngStyle]="{'background': 'url('+ this.localhostPath +'/img/' + item?.icon + ') no-repeat center',width:'100%',height:'50px'}"></i> -->
                </td>
                <td class="table-col" (click)="onSeletedChange(item)">
                  <span class="table-t"> {{item.userName}}</span>
                  <span class="table-descr"> {{item.realName}}</span>
                </td>
                <!-- <td class="table-col" (click)="onSeletedChange(item)">
                  {{item.realName}}
                </td> -->
              </tr>
            </tbody>
          </table>


        </div>
      </div>
    </div>
  </div>
</div>